package com.haima.ziliao.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.haima.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.haima.common.core.domain.BaseEntity;

/**
 * 打印订单对象 p_dayin_order
 * 
 * @author hima
 * @date 2024-10-21
 */
public class PDayinOrder implements Serializable
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 收货人 */
    @Excel(name = "收货人")
    private String name;

    /** 打印文件 */
    @Excel(name = "打印文件")
    private String filespath;

    /** 收获地址 */
    @Excel(name = "收获地址")
    private String addr;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 支付状态 */
    @Excel(name = "支付状态")
    private String ispay;

    /** 关联订单 */
    @Excel(name = "关联订单")
    private Long oid;

    /** 所属用户 */
    @Excel(name = "所属用户")
    private Long uid;

    /** 打印状态 */
    @Excel(name = "打印状态")
    private String status;

    /** 物流单号 */
    @Excel(name = "物流单号")
    @TableField("wuliuInfo")
    private String wuliuInfo;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("addTime")
    private Date addTime;

    /** 发货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发货日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("fahuoTime")
    private Date fahuoTime;

    private BigDecimal jine;

    public BigDecimal getJine() {
        return jine;
    }

    public void setJine(BigDecimal jine) {
        this.jine = jine;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setFilespath(String filespath) 
    {
        this.filespath = filespath;
    }

    public String getFilespath() 
    {
        return filespath;
    }
    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setIspay(String ispay) 
    {
        this.ispay = ispay;
    }

    public String getIspay() 
    {
        return ispay;
    }
    public void setOid(Long oid) 
    {
        this.oid = oid;
    }

    public Long getOid() 
    {
        return oid;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setWuliuInfo(String wuliuInfo) 
    {
        this.wuliuInfo = wuliuInfo;
    }

    public String getWuliuInfo() 
    {
        return wuliuInfo;
    }
    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }
    public void setFahuoTime(Date fahuoTime) 
    {
        this.fahuoTime = fahuoTime;
    }

    public Date getFahuoTime() 
    {
        return fahuoTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("filespath", getFilespath())
            .append("addr", getAddr())
            .append("phone", getPhone())
            .append("ispay", getIspay())
            .append("oid", getOid())
            .append("uid", getUid())
            .append("status", getStatus())
            .append("wuliuInfo", getWuliuInfo())
            .append("addTime", getAddTime())
            .append("fahuoTime", getFahuoTime())
            .append("jine", getJine())
            .toString();
    }
}
